package org.example.curriculum_design_6_16.service;

import org.example.curriculum_design_6_16.entity.dto.UserFormDTO;
import org.example.curriculum_design_6_16.entity.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.curriculum_design_6_16.entity.vo.Result;

/**
* @author 郑凯
* @description 针对表【user】的数据库操作Service
* @createDate 2025-06-16 13:21:18
*/
public interface UserService extends IService<User> {
    public Result validateUserData(UserFormDTO validator);
    public User createUserWithDefaultRole(UserFormDTO userFormDTO);
    public Result findUserByUseridOrEmail(String mark);
    public void updateLoginInfo(String userId);
    public Result EmailDataCheck(String email, String code);
}
